// component/coupon-list.js
const config = require('../../config.js');
const request = require('../../utils/request.js')
const utils = require('../../utils/util.js');
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    searchParams:Object,
    isShow:Boolean,
  },

  /**
   * 组件的初始数据
   */
  data: {
      
  },
  /**
   * 组件的方法列表
   */
  methods: {
      _hideDialog(e){
          console.log(1)
          this.triggerEvent('closeGetCoupon', {
              type: 1
          });
          
      },
      _goCouponDetail() {
          wx.navigateTo({
              url: '/pages/getCoupon/getCoupon',
          })
      },
  },
  
})
